exercise in futility

Translations
бесполезное занятие
Trying to change his mind was an exercise in futility.
Пытаться изменить его мнение было бесполезным занятием.
Definitions
An effort or action that is pointless or has no chance of success, often because the desired outcome is unattainable.